package com.example.shopping.service;

import com.example.shopping.pojo.Specification;
import com.example.shopping.pojo.SpecificationOption;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
Create by 苍狼 于 2020/1/16
站在巅峰看世界，
落在深渊思人生。
*/
public interface SpecificationOptionSerivce {
    //查询全部规格选项
    List<SpecificationOption> SelectListSpecificationOption();

    //新增规格选项
    int insertSpecificationOption(SpecificationOption specificationOption);

    //根据ID删除规格选项
    int deleteSpecificationById(int id);

    SpecificationOption selectListSpecificationOptionByCopyId(int specId);

    //修改方法
    int updateSpecificationOptionById(SpecificationOption specificationOption);
}
